package com.wnagyg.outer;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Created by wangyg6 on 2019/5/24 14:29.
 */
@FeignClient(value = "callBreadByZuul",name="callBreadByZuul", url = "http://127.0.0.1:8888/bread_store",fallbackFactory = DefaultCallBreadZuul.class)
public interface ICallBreadByZuul {
	@GetMapping("/test/hystrix")
	String callBread();
}
